<template>
  <section>
    <el-tabs v-model="tab">
      <el-tab-pane label="创建his订单" name="first">
        后期合并
        <examine-order v-if="tab === 'first'"></examine-order>
      </el-tab-pane>
      <el-tab-pane label="创建mall订单" name="third">
        <by-admin v-if="tab === 'third'"></by-admin>
        <!--<mall-orders v-if="tab === 'third'"></mall-orders>-->
      </el-tab-pane>
      <el-tab-pane label="创建挂号订单" name="second">
        后期合并
        <create-register-order  v-if="tab === 'second'"></create-register-order>
      </el-tab-pane>
    </el-tabs>
  </section>
</template>

<script>
  import byAdmin from './byAdmin'
  import examineOrder from './examineOrder'
  import mallOrders from './mallOrders'
  import createRegisterOrder from './createRegisterOrder'
  export default {
    name: "index",
    data() {
      return {
        tab:'third'
      }
      },
    components:{createRegisterOrder,examineOrder,mallOrders,byAdmin}
  }
</script>

<style scoped>

</style>
